<!DOCTYPE html>
<html lang="en">

<head>
	<meta charset="UTF-8">
	<title>{$seo_title}</title>
	<include file="Yourphp/Tpl/Home/Default/Index_meta.html" />
</head>

<body>
	<if condition="$ms != 0">
		<!-- //登录时显示 -->
		<include file="Yourphp/Tpl/Home/Default/Index_header.html" />
		<script type="text/javascript">
			var APP = '__APP__';
			var ROOT = '__ROOT__';
			var PUBLIC = '__PUBLIC__';
		</script>
		<div id="page">
			<div class="center">
				<include file="Index:nav" />
	</if>
	{__CONTENT__}
	<if condition="$ms != 0">
		<!-- //登录时显示 -->
		</div>
		<include file="Yourphp/Tpl/Home/Default/Index_footer.html" />
		</div>
		<script>
			$(function () {
				//active show
				var search = window.location.search;

				$(".subnav a").each(function () {
					var $this = $(this);
					var href = $this.attr("href");
					href = href.replace(/index.php/g, "");
					if (href == search) {
						$this.addClass("active");
					}

				})
				$("[data-delete]").on("click", deleteAssets);
				//删除 个人
				function deleteAssets() {
					var $this = $(this);
					var data = $this.data();
					if (!confirm("确定删除" + data.name + " 吗？")) return;

					$.post("{:U('home/Index/webdelfile')}&type=" + data.type + "&oid=" + data.oid, { id: data.delete }, function (req) {
						req = JSON.parse(req);
						if (req.status == '1') {
							$this.parents("li").remove();
						} else {
							alert(req.info);
						}

					})
				}
			})
		</script>
	</if>
</body>

</html>